package com.jsh.api;

import com.jsh.erp.datasource.entities.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "jsh-system",contextId = "userApi",path = "/jshERP-boot/api/userApi")
public interface UserApi {

    @GetMapping("current")
    User getCurrentUser();
}
